Inheritance of rules across hierarchical levels

ABSTRACT

Rules, such as condition-action rules, are configured at different levels of a hierarchy. For example, a top level site administrator may configure rules, lower level administrators may configure rules and end users may configure rules. Rules created at a higher hierarchical level are automatically inherited by lower hierarchical levels in the same branch of the hierarchy. The source of the inherited rule is indicated with its display such that the hierarchical level of creation can readily be determined. The inherited rule(s) may be toggled on/off at the lower hierarchical levels but edits to inherited rule(s) are restricted. Instead, a copy of any inherited rule may be made to create a local copy of the rule that is editable. Rules may be ordered and when a lower hierarchical level inherits the rules, the ordering is preserved.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation application and claims priority to U.S. patent application Ser. No. 15/725,939, filed on Oct. 5, 2017, entitled “INHERITANCE OF RULES ACROSS HIERARCHICAL LEVELS,” issued U.S. Pat. No. 9,792,264, which is a continuation of Ser. No. 14/878,011, filed Oct. 8, 2015, entitled “INHERITANCE OF RULES ACROSS HIERARCHICAL LEVELS,” issued U.S. Pat. No. 9,792,264, which is a continuation of U.S. patent application Ser. No. 13/287,645, filed Nov. 2, 2011, entitled “INHERITANCE OF RULES ACROSS HIERARCHICAL LEVELS,” issued U.S. Pat. No. 9,189,563, which applications are incorporated herein by reference in their entirety.

BACKGROUND

Many services and programs use rules for configuring and defining the operation of the program. Some of the rules may be set by a system administrator, some rules may be set by a user of the system, while other rules may be set by other administrators at other levels within a hierarchy of the system. For example, a search service may have an administrator for the overall search service that sets rules and administrators for smaller portions of the search service (e.g. a site collection). Configuring and managing all of these different rules can be a complex task.

SUMMARY

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

Rules, such as condition-action rules, are configured at different levels of a hierarchy. For example, a top level site administrator may configure rules, lower level administrators may configure rules and end users may configure rules. Rules created at a higher hierarchical level are automatically inherited by lower hierarchical levels in the same branch of the hierarchy. The source of the inherited rule is indicated with its display such that the hierarchical level of creation can readily be determined. The inherited rule(s) may be toggled on/off at the lower hierarchical levels but edits to inherited rule(s) are restricted. Instead, a copy of any inherited rule may be made to create a local copy of the rule that is editable. Rules may be ordered and when a lower hierarchical level inherits the rules, the ordering is preserved. While the ordering of any rules remains constant when inherited at the lower levels, the lower level may toggle on/off the execution of each rule within the ordering.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an exemplary computing device;

FIG. 2 illustrates an exemplary system for configuring rules at different hierarchical levels;

FIG. 3 shows a hierarchy of rules configured by different administrators/users within the hierarchy; and

FIG. 4 shows an illustrative processes for configuring rules at different hierarchical levels.

DETAILED DESCRIPTION

Referring now to the drawings, in which like numerals represent like elements, various embodiments will be described. In particular, FIG. 1 and the corresponding discussion are intended to provide a brief, general description of a suitable computing environment in which embodiments may be implemented.

Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Other computer system configurations may also be used, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. Distributed computing environments may also be used where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

Referring now to FIG. 1, an illustrative computer architecture for a computer 100 utilized in the various embodiments will be described. The computer architecture shown in FIG. 1 may be configured as a server computing device, a desktop computing device, a mobile computing device (e.g. smartphone, notebook, tablet . . . ) and includes a central processing unit 5 (“CPU”), a system memory 7, including a random access memory 9 (“RAM”) and a read-only memory (“ROM”) 10, and a system bus 12 that couples the memory to the central processing unit (“CPU”) 5.

A basic input/output system containing the basic routines that help to transfer information between elements within the computer, such as during startup, is stored in the ROM 10. The computer 100 further includes a mass storage device 14 for storing an operating system 16, application(s) 24, and other program modules, such as Web browser applications 25, rules 27, and rules manager 26 which will be described in greater detail below.

The mass storage device 14 is connected to the CPU 5 through a mass storage controller (not shown) connected to the bus 12. The mass storage device 14 and its associated computer-readable media provide non-volatile storage for the computer 100. Although the description of computer-readable media contained herein refers to a mass storage device, such as a hard disk or CD-ROM drive, the computer-readable media can be any available media that can be accessed by the computer 100.

By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, Erasable Programmable Read Only Memory (“EPROM”), Electrically Erasable Programmable Read Only Memory (“EEPROM”), flash memory or other solid state memory technology, CD-ROM, digital versatile disks (“DVD”), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer 100.

According to various embodiments, computer 100 may operate in a networked environment using logical connections to remote computers through a network 18, such as the Internet. The computer 100 may connect to the network 18 through a network interface unit 20 connected to the bus 12. The network connection may be wireless and/or wired. The network interface unit 20 may also be utilized to connect to other types of networks and remote computer systems. The computer 100 may also include an input/output controller 22 for receiving and processing input from a number of other devices, such as a touch input device. The touch input device may utilize any technology that allows single/multi-touch input to be recognized (touching/non-touching). For example, the technologies may include, but are not limited to: heat, finger pressure, high capture rate cameras, infrared light, optic capture, tuned electromagnetic induction, ultrasonic receivers, transducer microphones, laser rangefinders, shadow capture, and the like. According to an embodiment, the touch input device may be configured to detect near-touches (i.e. within some distance of the touch input device but not physically touching the touch input device). The touch input device may also act as a display 28. The input/output controller 22 may also provide output to one or more display screens, a printer, or other type of output device.

A camera and/or some other sensing device may be operative to record one or more users and capture motions and/or gestures made by users of a computing device. Sensing device may be further operative to capture spoken words, such as by a microphone and/or capture other inputs from a user such as by a keyboard and/or mouse (not pictured). The sensing device may comprise any motion detection device capable of detecting the movement of a user. For example, a camera may comprise a MICROSOFT KINECT® motion capture device comprising a plurality of cameras and a plurality of microphones.

Embodiments of the invention may be practiced via a system-on-a-chip (SOC) where each or many of the components/processes illustrated in the FIGURES may be integrated onto a single integrated circuit. Such a SOC device may include one or more processing units, graphics units, communications units, system virtualization units and various application functionality all of which are integrated (or “burned”) onto the chip substrate as a single integrated circuit. When operating via a SOC, all/some of the functionality, described herein, with respect to the Unified Communications via application-specific logic integrated with other components of the computing device/system 100 on the single integrated circuit (chip).

As mentioned briefly above, a number of program modules and data files may be stored in the mass storage device 14 and RAM 9 of the computer 100, including an operating system 16 suitable for controlling the operation of a networked personal computer, such as the WINDOWS SERVER®, WINDOWS 7® operating systems from MICROSOFT CORPORATION of Redmond, Wash.

The mass storage device 14 and RAM 9 may also store one or more program modules. In particular, the mass storage device 14 and the RAM 9 may store one or more applications 24, such as productivity applications, and may store one or more Web browsers 25. The Web browser 25 is operative to request, receive, render, and provide interactivity with electronic documents, such as a Web page. According to an embodiment, the Web browser comprises the INTERNET EXPLORER Web browser application program from MICROSOFT CORPORATION.

Rules manager 26 is configured to display and interact with rules at different hierarchical levels. Rules manager 26 may be a part of many different applications/services. For example, rules manager 26 may be a part of a cloud based multi-tenant service that provides resources (e.g. services, data . . . ) to different tenants. Rules manager 26 may be a part of other programs/services 19, such as, but not limited to: email, security (e.g. firewalls), search, and the like. According to an embodiment, rules manager 26 operates with MICROSOFT SHAREPOINT. Generally, rules, such as condition-action rules, are configured by different users/administrators at different levels of a hierarchy. For example, a top level site administrator may configure rules, lower level administrators may configure rules and an end user may configure rules. Rules created at a higher hierarchical level are automatically inherited by lower hierarchical levels in the same branch of the hierarchy (e.g. a sibling does not inherit a rule from a same hierarchical level). The source of the inherited rule is indicated with its display such that the hierarchical level of creation can readily be determined. The inherited rule(s) may be toggled on/off at the lower hierarchical levels but edits to inherited rule(s) are restricted. Instead, a copy of any inherited rule may be made to create an editable local copy of the rule. Rules may be ordered and when a lower hierarchical level inherits the rules, the ordering is preserved. The ordering of any hard-ordered rules remains constant at the lower levels, but the lower level may toggle on/off the execution of each rule within the ordering. Additional details regarding the operation of rules manager 26 will be provided below.

FIG. 2 illustrates an exemplary system for configuring rules at different hierarchical levels. As illustrated, system 200 includes service 210, tenant 1 (220), tenant 2 (230), tenant N (240), user 1 of tenant 2 (250) and network 201. Rules may be configured for other services/programs. The illustration of service 210 is for explanatory purposes and is not intended to be limiting.

As illustrated, service 210 is a multi-tenant service that provides resources 215 and services to any number of tenants (e.g. Tenants 1-N). According to an embodiment, multi-tenant service 210 is a cloud based service that provides resources/services to tenants subscribed to the service and maintains each tenant's data separately and protected from other tenant data. For example, service 210 may be configured to provide services corresponding to productivity applications (e.g. word processing, spreadsheet, presentation, messaging . . . ), security applications, data management applications, data sharing applications, and the like.

As illustrated, rules 217 are condition-action rules that are configured by one or more users/administrators at different hierarchical levels for the service. Rules 217 may store all/portion of the rules for one or more of the hierarchical levels. For example, rules 217 may store the rules for each of the different hierarchical levels. Rules may also/alternatively be stored at other locations. For example, the rules for each hierarchical level may be distributed across each the different hierarchical levels.

One or more rules manager 26 may be included within the system. For example, a single rules manager 26 may be utilized within service 210 and/or a rules manager may be included at other locations (e.g. each tenant and user as illustrated in 220, 230, 240 and 250). The distributed rules managers may be configured to interact with each other. For example, rules manager 26 on Tenant 1 may be configured to provide a local rules manager for tenant 1 that communicates rule information to the rules manager 26 of service 210. The following is an example flow of creating rules at different hierarchical levels for service 210.

In the current example, Tenants 1-N have one or more administrators/users at a lower hierarchical level from one or more administrators of service 210. Tenant 1 includes inherited rules 217 developed by an administrator of service 210 and local rules 222 that were created by Tenant 1. Tenant 2 includes inherited rules 217 developed by an administrator of service 210 and local rules 232 that were created by Tenant 2. Tenant N includes inherited rules 217 developed by an administrator of service 210 and local rules 232 that were created by Tenant N. User 1 of Tenant 2 (250) includes inherited rules 217 developed by an administrator of service 210, inherited rules 232 that were created by Tenant 2 (230) and local rules 252 that were created by user 1 of tenant 2.

Whenever a rule is created/changed at a higher level within the hierarchy, the rule is automatically incorporated within the lower hierarchical levels within the same branch of the hierarchy. The source of the inherited rule is indicated with its display such that the hierarchical level of creation can readily be determined. For example, the name of the rule may include the name of the administrator and/or level that created the rule (See FIG. 3). The inherited rule(s) may be toggled on/off at the lower hierarchical levels. According to an embodiment, inherited rules are non-editable. Instead, a copy of an inherited rule may be made to create an editable local copy of the rule. A rule may toggled on/off at any level within the hierarchy. Toggling on/off the rule at a higher level within the hierarchy is reflected in lower hierarchical levels. According to an embodiment, when a lower level has previously toggled off the rule, toggling the rule on/off at a higher level within the hierarchy is not propagated to the hierarchical level that already has the rule turned off.

Rules may be ordered and when a lower hierarchical level inherits the rules, the ordering is preserved. The ordering of any hard-ordered rules remains constant at the lower levels, but the lower level may toggle on/off the execution of each rule within the ordering.

Execution of the rules can be configured by the program/service to which they apply. According to an embodiment, rules from a higher level within the hierarchy are fired/executed before rules at lower levels within the hierarchy and hard-ordered rules are fired in the order specified. Different configuration of rule execution may be made depending on the service/program.

FIG. 3 shows a hierarchy of rules configured by different administrators/users within the hierarchy. As illustrated rules hierarchy 300 includes level 1 (L1) administrator 310, level 2 (L2A1) administrator 320, level 2 (L2A2) administrator 330, level 3 (L3A1) user 340, level 3 (L3A2) administrator 350 and level 3 (L3A3) administrator 360. More of fewer hierarchical levels may be included.

As illustrated, L1 at level 1 has configured one rule (R1) that is currently toggled on. Each hierarchical level below level 1 (level 2 and level 3) inherit rule R1. According to an embodiment, when a rule is inherited by a level, descriptive information is included that shows what level and/or who created the rule. For example, referring to box 322 it can be seen rule R1 came from level 1 (L1). Other naming schemes may be used. For example, rules from different levels may be shown in different colors/fonts, a rule may include a name of the creator, and the like. Rule R2 in box 322 is a rule created at level 2 by L2A1.

Inherited rules can be toggled on/off. In the current example, L2A2 (330) and L3A1 (340) has toggled rule R1 off. Toggling on/off a rule may occur at any time. When a user/administrator toggles on/off a rule at a higher level it is changed at the lower levels. In the current example, L2A2 toggling R1 off caused R1 at level 3 for L3A2 L3A3 to be toggled off. According to an embodiment, when a user at a lower level toggles off a rule and it is toggled at a higher level, the change to the rule is not automatically propagated.

Changes to a sibling's rules do not affect each other. For example, if L2A1 makes a change to a rule (e.g. creates a new rule, toggles a rule on/off, changes an ordering) that change is not propagated to its sibling L2A2. The changes are, however, automatically reflected in the children of L2A1 (in this example, L3A1).

According to an embodiment, inherited rules are not changeable. Instead, an inherited rule may be copied to create an editable local copy. For example, L3A1 (340) has created a copy of R1 that is editable.

Rules may be ordered such that a specific firing of the rules is created (hard ordering). In the current example, L2A2 has created an ordering of rules (Ordering1) that is inherited by the lower hierarchical levels within the same branch (L3A2 and L3A3). As with a single inherited rule, an ordering of rules is non-editable but the ordering may be copied and each rule within the ordering may be toggled on/off. For example, L3A3 has toggled rule R4 on.

FIG. 4 shows an illustrative processes for configuring rules at different hierarchical levels. When reading the discussion of the routines presented herein, it should be appreciated that the logical operations of various embodiments are implemented (1) as a sequence of computer implemented acts or program modules running on a computing system and/or (2) as interconnected machine logic circuits or circuit modules within the computing system. The implementation is a matter of choice dependent on the performance requirements of the computing system implementing the invention. Accordingly, the logical operations illustrated and making up the embodiments described herein are referred to variously as operations, structural devices, acts or modules. These operations, structural devices, acts and modules may be implemented in software, in firmware, in special purpose digital logic, and any combination thereof.

After a start operation, the process 400 flows to operation 410, where rules from the hierarchy are displayed. The rules include the rules created at the current hierarchical level along with inherited rules from higher levels within the hierarchy. According to an embodiment, when a change is made to a rule at a higher level within the hierarchy it is automatically reflected and updated in the display at the lower hierarchical level(s).

Moving to operation 420, an authorized user/administrator may edit/copy rules. As discussed above, inherited rules may be copied to create an editable local copy of the rule on that level. An authorized user may also create new rules at the hierarchical level. Rules created at the hierarchical level of the displayed rules may also be edited/changed. Copied rules and newly created/edited rules are automatically propagated to the lower levels.

Flowing to operation 430, any of the displayed rules may be toggled on/off. For example, a rule from one or more levels may be toggled on/off. As discussed above, toggling a rule at a higher level toggles the rule at the lower hierarchical levels unless the lower level has already explicitly toggled the rule to off.

Transitioning to operation 440, an ordering of the rules may be performed. A user may order rules that were not inherited as ordered. According to an embodiment, an inherited set of ordered rules is not changeable at a lower level. Instead, a user at the lower level would create a copy of the ordered rules and reconfigure the ordering of the local copy. The user may then toggle off the rules in the inherited ordering.

Moving to operation 450, changed rules are automatically propagated to the lower levels. The rules may be automatically propagated based on different conditions. For example, a change to a rule may be automatically propagated in response to any change to the rule, at pre-determined times (e.g. check for rule changes every 5, 10, 30, 60 minutes, once a day, and the like), in response to a selection to activate the change, and the like.

Flowing to operation 460 an ordering of the rules for execution is determined. The execution of the rules may be configured differently depending on the system. For example, some services/programs may allow rules to be fired in parallel while other services/programs follow a specified order of execution. According to an embodiment, rules are fired according to hierarchical level (e.g. top level rules fired before lower level rules) and whether the rules are ordered (when ordered the rules are executed in arranged order).

Transitioning to operation 470, the rules are executed according to the determined order.

The process then moves to an end operation and returns to processing other actions.

The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended. 

What is claimed is:
 1. A system for managing a plurality of rules for a multi-tenant service discretely at each of a plurality of hierarchical levels, the system comprising: a processor; and a computer-readable medium in communication with the processor and storing instructions that, when executed by the processor, cause the processor to control the system to perform: causing a first device associated with a first tenant to display first information via a first display of the first device, the first tenant being one of a plurality of tenants of a multi-tenant service, each tenant being associated with one of a plurality of hierarchical levels, the multi-tenant service configured to provide a plurality of resources to the plurality of tenants based on a set of rules, the plurality of hierarchical levels including first, second and third hierarchical levels, the first tenant having the first hierarchical level which is lower than the second hierarchical level and higher than the third hierarchical level, wherein the first information comprises: a first set of rules associated with the first hierarchical level; a second set of rules inherited from the second hierarchical level; and a source indicator indicating an inheritance source of the second set of rules; receiving, from the first device via a communication network, a user input comprising a first change to one of the first or second set of rules displayed via the first display; identifying, from the plurality of tenants, a group of tenants having the third hierarchical level and being on a same branch of a tenant hierarchy as the first tenant, the identified group of tenants comprising a second tenant; and causing a second device associated with the second tenant to display, via a second display of the second device, second information comprising: the first and second sets of rules inherited from the first and second hierarchical levels and modified to reflect the first change to the one of the first or second set of rules; and a third set of rules associated with the third hierarchical level.
 2. The system of claim 1, wherein the instructions, when executed by the processor, further cause the processor to control the system to perform determining whether any of the first or second set of rules is enabled or disabled.
 3. The system of claim 1, wherein the instructions, when executed by the processor, further cause the processor to control the system to perform determining when a new rule is added to the first or second set of rules.
 4. The system of claim 1, wherein the instructions, when executed by the processor, further cause the processor to control the system to perform determining a display order of the first and second sets of rules in the displayed first information.
 5. The system of claim 4, wherein the instructions, when executed by the processor, further cause the processor to control the system to perform grouping, based on the determined display order, the first and second sets of rules in the displayed first information.
 6. The system of claim 4, wherein the instructions, when executed by the processor, further cause the processor to control the system to perform preventing the first device from changing the display order of the first and second sets of rules in the displayed first information.
 7. The system of claim 4, wherein the instructions, when executed by the processor, further cause the processor to control the system to perform allowing the first device to individually disable or enable the second set of rules in the displayed first information.
 8. The system of claim 1, wherein the instructions, when executed by the processor, further cause the processor to control the system to perform allowing the first device to copy the second set of rules to create a local version of the second set of rules.
 9. The system of claim 8, wherein, in the displayed first information, the local version of the second set of rules is editable by the first device.
 10. The system of claim 8, wherein, in the displayed first information, the second set of rules is not editable by the first device.
 11. A method of operating a system for managing a plurality of rules for a multi-tenant service discretely at each of a plurality of hierarchical levels, the method comprising: causing a first device associated with a first tenant to display first information via a first display of the first device, the first tenant being one of a plurality of tenants of a multi-tenant service, each tenant being associated with one of a plurality of hierarchical levels, the multi-tenant service configured to provide a plurality of resources to the plurality of tenants based on a set of rules, the plurality of hierarchical levels including first, second and third hierarchical levels, the first tenant having the first hierarchical level which is lower than the second hierarchical level and higher than the third hierarchical level, wherein the first information comprises: a first set of rules associated with the first hierarchical level; a second set of rules inherited from the second hierarchical level; and a source indicator indicating an inheritance source of the second set of rules; receiving, from the first device via a communication network, a user input comprising a first change to one of the first or second set of rules displayed via the first display; identifying, from the plurality of tenants, a group of tenants having the third hierarchical level and being on a same branch of a tenant hierarchy as the first tenant, the identified group of tenants comprising a second tenant; and causing a second device associated with the second tenant to display, via a second display of the second device, second information comprising: the first and second sets of rules inherited from the first and second hierarchical levels and modified to reflect the first change to the one of the first or second set of rules; and a third set of rules associated with the third hierarchical level.
 12. The method of claim 11, further comprising determining whether any of the first or second set of rules is enabled or disabled.
 13. The method of claim 11, further comprising determining when a new rule is added to the first or second set of rules.
 14. The method of claim 11, further comprising determining a display order of the first and second sets of rules in the displayed first information.
 15. The method of claim 14, further comprising grouping, based on the determined display order, the first and second sets of rules in the displayed first information.
 16. The method of claim 14, further comprising preventing the first device from changing the display order of the first and second sets of rules in the displayed first information.
 17. The method of claim 14, further comprising allowing the first device to individually disable or enable the second set of rules in the displayed first information.
 18. The method of claim 11, further comprising allowing the first device to copy the second set of rules to create a local version of the second set of rules.
 19. The method of claim 18, wherein, in the displayed first information, the second set of rules is not editable by the first device, but the local version of the second set of rules is editable by the first device.
 20. A non-transitory computer-readable medium comprising instructions that, when executed by a processor, cause the processor to control a system to perform functions for managing a plurality of rules for a multi-tenant service discretely at each of a plurality of hierarchical levels, the functions comprising: causing a first device associated with a first tenant to display first information via a first display of the first device, the first tenant being one of a plurality of tenants of a multi-tenant service, each tenant being associated with one of a plurality of hierarchical levels, the multi-tenant service configured to provide a plurality of resources to the plurality of tenants based on a set of rules, the plurality of hierarchical levels including first, second and third hierarchical levels, the first tenant having the first hierarchical level which is lower than the second hierarchical level and higher than the third hierarchical level, wherein the first information comprises: a first set of rules associated with the first hierarchical level; a second set of rules inherited from the second hierarchical level; and a source indicator indicating an inheritance source of the second set of rules; receiving, from the first device via a communication network, a user input comprising a first change to one of the first or second set of rules displayed via the first display; identifying, from the plurality of tenants, a group of tenants having the third hierarchical level and being on a same branch of a tenant hierarchy as the first tenant, the identified group of tenants comprising a second tenant; and causing a second device associated with the second tenant to display, via a second display of the second device, second information comprising: the first and second sets of rules inherited from the first and second hierarchical levels and modified to reflect the first change to the one of the first or second set of rules; and a third set of rules associated with the third hierarchical level. 